<template>
    <div>
      <div class="header">
        <router-link to="/">
          <div class="iconfont header-icon">
            &#xe682;
          </div>
        </router-link>
        <span>城市选择</span>
      </div>
    </div>
</template>

<script>
export default {
  name: 'Header'
}
</script>

<style lang="stylus" scoped>
  @import "~styles/variables.styl"
  .header
    position: relative
    overflow: hidden
    text-align: center
    background-color: $bgColor
    height: $headerheight
    line-height: $headerheight
    color: #ffffff
    font-size: 0.30rem
    .header-icon
      position: absolute
      top: 0
      left: 0.32rem
      width: 0.32rem
      font-size: 0.30rem
      color: #ffffff
</style>
